.text{
    font-size:20px;
    text-decoration: underline;
    line-height: 30px;
    text-indent: 10px;
    span{
        font-size: 16px;
        border: 1px solid gray;
        &::after{
            content: ")";
        }
        &::before{
            content:"(";
        }
    }
}

.dark{
    &:extend(.text);
    background: black;
    color:white;
    span{
        &:extend(.text span);
        color: yellowgreen;
    }
}

.light:extend(.text){
    background: yellowgreen;
    color: black;
    span:extend(.text span){
        color: blanchedalmond;
    }

}

.test:extend(.text all){
    background-color: blue;
    color: brown;
}